// 接口返回数据类型
export interface ResData {
  code: number,
  msg:string
}

// 表格单行数据类型
export interface Info {
  categoryCode:string,
  content:string,
  createTime:string,
  createUser:string,
  deleted:number,
  id?:number,
  isValid:number,
  itemTitle:string,
  itemUrl:string, //放链接用，可不传
  learnedCount:number,
  sort:number,
  thumbnail:string,
  updateTime:string,
  updateUser:string,
  version:number,
  file:string,
}

// 全部返回数据类型
export interface InfoResData extends ResData{
  data:{
    records:Info[],
    current:number,
    pages:number,
    size:number,
    total:number,
  }
}

// 查询工具携带参数
export interface queryParams {
  current: number,
  size: number,
  categoryCode: string,
  itemTitle?: string
}